package com.tj.shopping.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *  订单
 * @author makejava
 * @since 2023-12-18 20:09:48
 */
public class Order implements Serializable {
    private static final long serialVersionUID = -61220087833823548L;

    private Integer ono;//订单编号

    private Integer uno;//用户编号

    private String ordertime;//下单时间

    private String paytime;//支付时间

    private String paytype;//支付方式

    private Integer adno;//收货地址编号

    private Integer ostate;//订单状态（待支付，代发货等。。。）

    private Float totalprice;//总价格

    private int gdno;

    private String temp02;


    public Integer getOno() {
        return ono;
    }

    public void setOno(Integer ono) {
        this.ono = ono;
    }

    public Integer getUno() {
        return uno;
    }

    public void setUno(Integer uno) {
        this.uno = uno;
    }

    public String getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(String ordertime) {
        this.ordertime = ordertime;
    }

    public String getPaytime() {
        return paytime;
    }

    public void setPaytime(String paytime) {
        this.paytime = paytime;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public Integer getAdno() {
        return adno;
    }

    public void setAdno(Integer adno) {
        this.adno = adno;
    }

    public Integer getOstate() {
        return ostate;
    }

    public void setOstate(Integer ostate) {
        this.ostate = ostate;
    }

    public Float getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Float totalprice) {
        this.totalprice = totalprice;
    }

    public int getGdno() {
        return gdno;
    }

    public void setGdno(int gdno) {
        this.gdno = gdno;
    }

    public String getTemp02() {
        return temp02;
    }

    public void setTemp02(String temp02) {
        this.temp02 = temp02;
    }

    public Order(Integer ono, Integer uno, String ordertime, String paytime,
                 String paytype, Integer adno, Integer ostate, Float totalprice, Integer gdno, String temp02) {
        this.ono = ono;
        this.uno = uno;
        this.ordertime = ordertime;
        this.paytime = paytime;
        this.paytype = paytype;
        this.adno = adno;
        this.ostate = ostate;
        this.totalprice = totalprice;
        this.gdno = gdno;
        this.temp02 = temp02;
    }

    public Order() {
    }

    @Override
    public String toString() {
        return "Order{" +
                "ono=" + ono +
                ", uno=" + uno +
                ", ordertime=" + ordertime +
                ", paytime=" + paytime +
                ", paytype='" + paytype + '\'' +
                ", adno=" + adno +
                ", ostate=" + ostate +
                ", totalprice=" + totalprice +
                ", gdno=" + gdno  +
                ", temp02='" + temp02 + '\'' +
                '}';
    }
}

